<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>024-闭包.html</title>
	<script>
		function fn(){
			var n = 1;
			function fn1(){
				console.log(n);
			}
			fn1();
		}
		fn();
	</script>
</head>
<body>
	
</body>
</html>